package cn.stylefeng.guns.sys.modular.upload;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

public class Tset {
    public static void main(String[] args) {
        String a="aaaaa.xls";
        int i = a.lastIndexOf(".");
        System.out.println(i);
        String type = a.substring(i);
        System.out.println(type);
        String format = LocalDate.now().format(DateTimeFormatter.BASIC_ISO_DATE);
        System.out.println(format);
    }
}
